package com.ky.gp.app.service;

import com.ky.common.vo.R;
import com.ky.user.entity.PayAdd;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "gp-user-server")
public interface PayLogFeign {

    @RequestMapping("/user/wallet/create")
    R create(PayAdd payAdd);
    @RequestMapping("/user/wallet/my")
    R findAllWallet();
    @RequestMapping("/user/wallet/findAllByType")
    R findAllPayLog(@RequestParam("type")Integer type);
}
